def vj_sort_rule(data):
    return  sorted(data, key=lambda item: (-item["ac_number"], item["time"]))